This sample shows how to incorporate AppSentinel for application/software rental.

The basic steps are:

1) In code, set a short evaluation period for your application (3 days in this sample).

2) User installs and runs your application.

3) Your application invokes AppSentinel to check its registered status. Initially your application will be in "evaluation mode". 

4) The user registers with you and receives a Registration ID.

5) The user enters the Registration ID into your application's registration screen and registers the application. 

6) Each time your application runs it checks its registration status.

- If Expired, your application issues a message and terminates.

- If in "evaluation mode", you can inform the user and continue functioning.

- If Registered, it checks the total number of days (or runs) it has been in service for. If this value exceeds your rental period (90 days in this sample) you inform the user, delete all registration information and terminate your application. This sample reminds the user to renew their registration 5 days before their rental expires.

7) The user re-registers with you and recieves a new Registration ID. The old one will no longer work. 

8) The user re-enters the Registration ID into your application's registration screen and re-registers the application as in step 5.

9) The process repeats itself indefinately or until the user no longer renews his rental/subscription. At that time they will be able to use your application until the evaluation period (3 days in this exapmle) expires.
